<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/css/admin.css" rel="stylesheet" type="text/css" />
<link href="/css/ui/ui.all.css" rel="stylesheet" type="text/css" />
<script src="/js/a.js"></script>
<script type="text/javascript" charset="utf-8" src="/editor/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/editor/ueditor/ueditor.all.js"> </script>
<script type="text/javascript" charset="utf-8" src="/editor/ueditor/lang/zh-cn/zh-cn.js"></script>
<script src="/js/admin/ue.js"></script>
<script>
//loadjs('admin/son');
loadjs('admin/view');
loadjs('ui/ui.datepicker');

var data = [];
$('body').ready(
function(){
  sortlist('s');
  $('#date').datepicker({dateFormat: 'yy-mm-dd'});
});


</script>

    
</head>

<body >
<div id="kk" class="p20">
<form action="__URL__/save" method="post" enctype="multipart/form-data" id="form">

<div class="f28 mb10 h70 title_box" style="line-height:70px;">
<img src="/img/adminiii/content.png" style="margin:0 10px -22px 10px;"/>内容 <span class="f16">&#65310; <?php echo urldecode(is_utf8($_GET['tag_title'])==false? mb_convert_encoding($_GET['tag_title'],'UTF-8',GBK):$_GET['tag_title']); ?></span>
</div>

<div class="pb5 tr" style="border-bottom:1px dashed #666;">
<a href="javascript:getid('form').submit();" class="u">[保存]</a>
</div>


<div class="data">
<div class="fl f12 b lh20">标题</div>
<div class="fr w87pc lh14">
  <input type="text" value="{$v.title}" name="title" class="textbox" />
</div>
<div class="c"></div>
</div>

<div class="data">
<div class="fl f12 b lh20">来源</div>
<div class="fr w87pc lh14">
  <input type="text" value="{$v.fabu|default='启博士国际儿童心智教育'}" name="fabu" class="textbox" />
</div>
<div class="c"></div>
</div>


<div class="data">
<div class="fl f12 b lh20">简介</div>
<div class="fr w87pc lh14">
  <textarea name="intro" rows="8" class="w50pc">{$v.intro}</textarea>
</div>
<div class="c"></div>
</div>


<div class="data">
<div class="fl f12 b lh20 view_title">内容</div>
<div class="fr w87pc">
    <textarea name="content" data-kind="true">{$v.content}</textarea>
</div>
<div class="c"></div>
</div>


<div class="data">
<div class="fl f12 b lh20">预览图片</div>
<div class="fr w87pc lh14">
  <input name="thumb" type="file" class="textbox" onchange="checkFile(this,'jpg');"><br />
尺寸: 314 x 250 像素<br />
格式: jpg
</div>
<div class="c"></div>
</div>


<div class="data">
<div class="fl f12 b lh20">新闻大图</div>
<div class="fr w87pc lh14">
  <input name="img" type="file" class="textbox" onchange="checkFile(this,'jpg');"><br />
尺寸: 1920 x 750 像素<br />
格式: jpg
</div>
<div class="c"></div>
</div>


<div class="data">
  <div class="fl f12 b lh20">发表时间</div>
<div class="fr w87pc">
  <input name="date" type="text" class="textbox" id="date" value="{$v.date}" style="width:124px;" />
<input name="time" type="text" class="textbox" id="time" value="{$v.time}" style="width:124px;" />
<a href="javascript:fill('time','00:00:00')">00:00:00</a>
</div>
<div class="c"></div>
</div>

<div class="data">
<div class="fl f12 b lh20">点击量</div>
<div class="fr w87pc">
  <input name="hit" type="text" class="textbox" id="hit" value="{$v.hit}" />
</div>
<div class="c"></div>
</div>

<div class="data">
<div class="fl f12 b lh20">优先级</div>
<div class="fr w87pc">
  <input name="pri" type="text" class="textbox" id="pri" value="{$v.pri}" />
</div>
<div class="c"></div>
</div>


<div class="data">
<div class="fl f12 b lh20">显示?</div>
<div class="fr w87pc">
  <input name="display" type="checkbox" id="display" value="1"<?php if ($v['display']==1){ echo ' checked="checked"'; } ?> />
</div>
<div class="c"></div>
</div>


<div class="mt20 tc">
<input type="submit" class="btn" value="保存" />
<input type="button" class="btn" value="返回列表页" onclick="window.location.href='__URL__?tag_title=<?php $arr=explode('-',$_GET['tag_title']); echo urlencode($arr[0]); ?>'" />
</div>
<input name="id" type="hidden" id="id" value="{$v.id}" />
<input name="fid" type="hidden" id="fid" value="{$fid}" />
<input name="tag_title" type="hidden" id="tag_title" value="<?php $arr=explode('-',$_GET['tag_title']); echo urlencode($arr[0]); ?>" />
</form>
</div>
</body>
</html>
